package com.cj.service;

import com.cj.po.Dormitory;
import com.cj.po.Dormrepair;
import com.cj.po.PageInfo;

import java.util.Date;
import java.util.List;

public interface DormrepairService {

    PageInfo<Dormrepair> findPageInfo(Integer r_id, Integer d_id, String d_dormbuilding, String r_name, String reason, Date create_time, Date update_time, Integer pageIndex, Integer pageSize);

    public List<Dormrepair> getAll();

    int deleteDormRepair(Integer r_id);

    int addDormRepair(Dormrepair dormrepair);

    int updateDormRepair(Dormrepair dormrepair);

    Dormrepair findDormRepairById(Integer r_id);
}
